from langchain.text_splitter import RecursiveCharacterTextSplitter

text_splitter = RecursiveCharacterTextSplitter(
    chunk_size=200,
    chunk_overlap=50,
    length_function=len,
    separators=["\n", "。", " "]
)
text = "... faefewa f\n\n"
texts = text_splitter.split_text(text)
print(texts)